package com.yjt.admin.system.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 角色菜单表
 * </p>
 *
 * @author zzp
 * @since 2021-10-08
 */
@Data
@AllArgsConstructor
@Accessors(chain = true)
public class RoleMenuForm implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色id")
    @NotBlank(message = "角色不能为空")
    private String roleId;

    @ApiModelProperty(value = "菜单id集合")
    @NotEmpty(message = "菜单不能为空")
    private List<String> menuIdList;


}
